package com.cloud.service.bookkeeping;

import com.cloud.model.view.bookkeeping.BookkeepingView;
import com.cloud.service.base.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* <b><code>Bookkeeping</code></b>
* <p/>
* Bookkeeping的具体实现
* <p/>
* <b>Creation Time:</b> 2019-10-15 17:24:19.
*
* @author ${model.author}
* @version 1.0.0
 * @since cloud-spring-boot-be 1.0.0
 */
@Service
public interface BookkeepingService extends BaseService<BookkeepingView> {

    Page<BookkeepingView> getEntityPage(Long userId, Integer pageNumber, Integer pageSize);

    /**
     * 保存记账信息
     * @param bookkeepingView
     * @return
     */
    BookkeepingView saveBookkeepingView(BookkeepingView bookkeepingView);
}
